{extend name="layout/layout" /}
{block name="main"}
<link rel="stylesheet" href="//at.alicdn.com/t/font_2167970_eu3hqchc4t.css">
<link rel="stylesheet" href="/template/assets/css/index.min.css">
<link rel="stylesheet" href="/template/assets/css/swiper-bundle.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.2/animate.min.css">
<script src="/template/assets/js/swiper-bundle.min.js"></script>
<div id="center">
  <!-- banner -->
  <div class="synopsis">
    <div class="swiper-container animated fadeInDown" style="width: 100%;height: 100%;">
      <div class="swiper-wrapper">
        <?php foreach($banners as $val): ?>
        <div class="swiper-slide">
          <a style="text-decoration:none;cursor: pointer;" href="<?php echo $val['url']; ?>">
            <img class="bg-image" src="<?php echo $val['image']; ?>" alt="">
            <img class="home_banner_mobile" src="<?php echo $val['image']; ?>" alt="">
          </a>
        </div>
        <?php endForeach; ?>
       
      </div>

      <!-- 如果需要导航按钮 -->
      <div class="swiper-button-prev"></div>
      <div class="swiper-button-next"></div>

      <!-- 如果需要滚动条 -->
      <div class="swiper-scrollbar"></div>
    </div>
   
    <img class="next animated fadeInUp" style="z-index: 1;"
      src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/222668927eb581e65532bfd9f0a7f5a6.png" alt="">
  </div>
  <!-- 为我国公共交通发展而努力 -->
  <div class="one flex-y-end">
    <div class="left">
      <img class="mobile_home_img_dian"
        src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/4b0f730c50f40a2f527f7bdded95297e.png" alt="">
      <div class="common-eng-title">ABOUT</div>
      <div class="common-title title">
        <div>为我国</div>
        <div>公共交通发展</div>
        <div>而努力</div>
      </div>
      <div class="common_detail title">
        公司一切运营以用户体验为出发点，不断开发并推出新技术新产品，总结服务经验提高员工素质，为客户提供整套技术及服务方案，为我国公共交通事业提供高品质的产品和更专业的服务。
      </div>
      <div class="flex-x-between flex-y-end about_box">
        <div class="about">
          <a href="/index.php/about" style="text-decoration:none;color: #333;">关于我们</a>
        </div>
        <div class="video_play" style="cursor: pointer;">
          <img class="play"
            src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/a3e90494137f6f7bf2790125a821fb91.png"
            alt="">
        </div>
      </div>
    </div>
    <div class="one_images dis-flex-wrap">
      <img class="home_about"
        src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/866e196d43ff19d0b889339d5c7b8abe.png" alt="">
      <img class="home_icon_bus"
        src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/d40d61471338bbb888431f070ab98844.png" alt="">
      <img class="home_img_dian"
        src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/4b0f730c50f40a2f527f7bdded95297e.png" alt="">
      <div class="depict">
        <div class="title">解决行车视野盲区</div>
        <div>更大视野，看清所有盲区，无惧自然恶劣天气，即使是下雨大雾，也能呈现清晰的成像，行车更安全。</div>
        <div><img class="mobile_play"
            src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/a3e90494137f6f7bf2790125a821fb91.png"
            alt=""></div>
      </div>
    </div>
  </div>
  <!-- 传统后视镜
存在问题 -->
  <div class="two_box" style="overflow: hidden;">
    <div class="two flex-y-end">
      <div class="mobile_box2">
        <img class="home_img_dian"
          src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/4b0f730c50f40a2f527f7bdded95297e.png" alt="">
      </div>
      <div class="left dis-flex clearfix">
        <div class="box2 mobile_box2">
          <div class="text">
            雨雾天气 <br>
            视野不清
          </div>
          <div class="eng">Weather</div>
          <div class="t-r"><img
              src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/eb345f5dc08563fef2f1f61bbe22fa42.png"
              alt=""></div>
        </div>
        <div>
          <div class="box1 box-left">
            <div class="text">
              驾驶员 <br>
              需在多个后视镜 <br>
              频繁转换视线 <br>
              对经验要求高
            </div>
            <div class="eng">Technology</div>
            <div class="t-r"><img
                src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/ceaa396873afa4558962c42d4d14dde0.png"
                alt=""></div>
          </div>
          <div>
            <img class="home_img_dian"
              src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/4b0f730c50f40a2f527f7bdded95297e.png"
              alt="">
          </div>
        </div>
        <div>
          <div class="box2 box-right1">
            <div class="text">
              雨雾天气 <br>
              视野不清
            </div>
            <div class="eng">Weather</div>
            <div class="t-r"><img
                src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/eb345f5dc08563fef2f1f61bbe22fa42.png"
                alt=""></div>
          </div>

          <div class="box3 box-right2">
            <div class="text">
              注意力分散 <br>
              强弱光驾驶环境 <br>
              导致二次盲区 <br>
              及视觉疲劳
            </div>
            <div class="eng">Fatigue</div>
            <div class="t-r"><img
                src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/b5d430bf11242b2cf4f17f4acaa6f628.png"
                alt=""></div>
          </div>
        </div>
      </div>
      <div class="right">
        <div class="common-eng-title">PROBLEM</div>
        <div class="common-title title">
          <div>传统后视镜</div>
          <div>存在问题</div>
        </div>
        <div class="common_detail title">
          <div>基于以上现状，融盛电子后视镜系统应运而生</div>
          <div>广州融盛电子后视镜系统组成：</div>
          <div>6颗高感亮度数字清摄像头；</div>
          <div>3英寸显示屏；</div>
          <div>2块12.</div>
          <div>1块ECU控制器;</div>
          <div>PoC图像传输线束.</div>
          <div>根据需求配置2-14颗雷达</div>
        </div>
      </div>
    </div>
  </div>
  <!-- 视野盲区 -->
  <div class="three flex-y-end" style="overflow: hidden;">
    <div class="left">
      <div class="common-eng-title">VISION BLIND AREA</div>
      <div class="common-title title">
        视野盲区
      </div>
      <div class="t-c bus_box"><img class="home_img_bus"
          src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/463cfa9aabce4c66d09d773a29c583c5.png" alt="">
      </div>
      <div class="dis-flex icon">
        <div class="i_left i_common dis-flex">
          <img src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/871efce016f65deae080b7270309b21b.png"
            alt="">
          <div class="text">
            当遇到右转
            弯的大型车辆
            时要与大型车
            身保持三米的
            距离才能躲避
            视野盲区盲区
          </div>
        </div>
        <div class="i_common dis-flex">
          <img src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/0f429d20a9ad3209061acf9f0710777b.png"
            alt="">
          <div class="text">
            与公交车
            平行直行时
            要与车身至少
            保持2.5米的间距
          </div>
        </div>
      </div>
    </div>
    <div class="dis-flex-wrap right">
      <div class="dis-flex">
        <span>01</span>
        <img class="home_img_bus2"
          src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/45033c04cd33ae2f9de29aa4d13ee90b.png" alt="">
        <img class="mobile_bus2"
          src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/463cfa9aabce4c66d09d773a29c583c5.png" alt="">
      </div>
      <div class="title">
        30%以上交通事故 <br>
        与盲区有关
      </div>
      <div class="mobile_title">
        30%以上交通事故
        与盲区有关
      </div>
      <div class="detail">
        大型车辆由于自身的长度和高度，驾驶位存在视野盲区，导致司机可能无法或忽略察觉到盲区内的人群，有关数据显示，30%以上交通事故与盲区有关。
      </div>
      <img class="home_img_dian"
        src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/4b0f730c50f40a2f527f7bdded95297e.png" alt="">
    </div>
  </div>
  <!-- 电子后视镜 实现的功能 -->
  <div class="four_box" style="overflow: hidden;">
    <div class="four flex-y-end">
      <div class="left">
        <div class="common-eng-title">FUNCTION</div>
        <div class="common-title title">
          电子后视镜 <br>
          实现的功能
        </div>
        <div class="common_detail title">
          Rongsheng Technology, pioneer of streaming media panoramic electronic rearview mirror
        </div>
        <div class="flex-x-between flex-y-end">
          <div class="about">
            <a href="" style="text-decoration:none;color: #333;">主要功能</a>
          </div>
        </div>
        <img class="home_img_dian"
          src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/4b0f730c50f40a2f527f7bdded95297e.png" alt="">
      </div>
      <div class="four_images flex-x-between">
        <div class="box">
          <img src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/3792148ff09ef2356adbeb2ce4a33fd7.png"
            alt="">
          <div class="position">
            <div class="name">视野无盲区</div>
            <div class="eng">Blind area</div>
          </div>
        </div>
        <div class="box">
          <img src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/e63e49f22b4b5f36ebfb4368cdff54f0.png"
            alt="">
          <div class="position">
            <div class="name">夜晚看得见</div>
            <div class="eng">See night</div>
          </div>
        </div>
        <div class="box">
          <img src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/5918a82c143302b055f06efd109c15ef.png"
            alt="">
          <div class="position">
            <div class="name">雨天看得清</div>
            <div class="eng">Raining</div>
          </div>
        </div>
        <div class="box">
          <img src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/108fd8a8037eb9caab3a59c13701eeb8.png"
            alt="">
          <div class="position">
            <div class="name">光感柔和不刺眼</div>
            <div class="eng">Smooth</div>
          </div>
        </div>
      </div>
    </div>
  </div>
  <!-- 十二项实用功能 -->
  <div class="five" style="overflow: hidden;">
    <div class="common-eng-title">PRACTICAL FUNCTION</div>
    <div class="common-title title">
      十二项实用功能
    </div>
    <img class="home_img_dian"
      src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/4b0f730c50f40a2f527f7bdded95297e.png" alt="">
    <div class="five_images flex-x-between">
      <div class="box">
        <img src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/76671adb0bb1a3d2c66e58b2d5967592.png"
          alt="">
        <div>
          消除传统盲区
        </div>
      </div>
      <div class="box">
        <img src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/c0c7bc2934d904ca0ea7f7dc472206ca.png"
          alt="">
        <div>
          雨雾看得清
        </div>
      </div>
      <div class="box">
        <img src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/c025d9ebc7fbf13111431439850ba092.png"
          alt="">
        <div>
          夜晚看得见
        </div>
      </div>
      <div class="box">
        <img src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/b0c4ba8eb4cb89bb154188990a2b9fb1.png"
          alt="">
        <div>
          实施储存、可扩展
        </div>
      </div>
      <div class="box">
        <img src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/60f80b2031f09bf298e95b376281706d.png"
          alt="">
        <div>
          视频上传平台
        </div>
      </div>
      <div class="box">
        <img src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/06bb381c2fcb65b273f92b22cee27882.png"
          alt="">
        <div>
          360环视模型
        </div>
      </div>
      <div class="box">
        <img src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/6ab7f498e81cba04f0198b5e44f60839.png"
          alt="">
        <div>
          强弱光自适应
        </div>
      </div>
      <div class="box">
        <img src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/79e8f13cbe573838a52543155ec4d423.png"
          alt="">
        <div>
          开车环视车周检测
        </div>
      </div>
      <div class="box">
        <img src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/ad29a5d6d728f16f178eb7114ef734fc.png"
          alt="">
        <div>
          倒车影像
        </div>
      </div>
      <div class="box">
        <img src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/8dba212fb14ab3022284712e8a6d6b3d.png"
          alt="">
        <div>
          20KM/h自动切屏
        </div>
      </div>
      <div class="box">
        <img src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/22182b42e4b02d847c8de12f3137c544.png"
          alt="">
        <div>
          雷达测距报警
        </div>
      </div>
      <div class="box">
        <img src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/64b89e553116f0f76a0e58f653a28214.png"
          alt="">
        <div>
          高级辅助驾驶功能
        </div>
      </div>
    </div>
  </div>
  <!-- 融盛动态 six-->
  <div class="six_box" style="overflow: hidden;">
    <div class="six flex-x-between">
      <img class="home_img_dian"
        src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/4b0f730c50f40a2f527f7bdded95297e.png" alt="">
      <img class="home_img_dian location"
        src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/4b0f730c50f40a2f527f7bdded95297e.png" alt="">
      <div class="mobile_box">
        <div>
          <div class="common-eng-title">NEWS</div>
          <div class="common-title title">
            融盛动态
          </div>
          <div class="common_detail title">
            Rongsheng Technology, pioneer of streaming media panoramic electronic rearview mirror.
          </div>
        </div>
        <div class="flex-x-between flex-y-end">
          <div class="about">
            <a href="/index.php/lists/<?php echo $newId; ?>" style="text-decoration:none;color: #333;">更多动态</a>
          </div>
        </div>
      </div>
      <!-- <img class="home_img_dian" src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/4b0f730c50f40a2f527f7bdded95297e.png" alt=""> -->
      <?php foreach($newLists as $val): ?>
      <div class="box">
        <a href="" style="text-decoration:none;color: #333;">
          <a href="/index.php/lists/show/<?php echo $val['id']; ?>"><img src="<?php echo $val['image'] ?: ''; ?>"
              alt=""></a>
          <div class="position">
            <?php echo $val['title']; ?>
          </div>
        </a>
      </div>
      <?php endForeach; ?>
      <!--      <div class="box">-->
      <!--        <a href="">-->
      <!--          <img src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/e63e49f22b4b5f36ebfb4368cdff54f0.png"-->
      <!--            alt="">-->
      <!--          <div class="position">-->
      <!--            科技抗疫 | 人脸识别测温，疫情下，融盛…-->
      <!--          </div>-->
      <!--        </a>-->
      <!--      </div>-->
      <!--      <div class="box">-->
      <!--        <a href="" style="text-decoration:none;color: #333;">-->
      <!--          <img src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/5918a82c143302b055f06efd109c15ef.png"-->
      <!--            alt="">-->
      <!--          <div class="position">-->
      <!--            领跑不止一步，融盛推出国内首个全景…子-->
      <!--          </div>-->
      <!--        </a>-->
      <!--      </div>-->
      <!--      <div class="box">-->
      <!--        <a href="" style="text-decoration:none;color: #333;">-->
      <!--          <img src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/e63e49f22b4b5f36ebfb4368cdff54f0.png"-->
      <!--            alt="">-->
      <!--          <div class="position">-->
      <!--            融盛科技电子后视镜落户冰城 为公交安…-->
      <!--          </div>-->
      <!--        </a>-->
      <!--      </div>-->
      <!--      <div class="box">-->
      <!--        <a href="" style="text-decoration:none;color: #333;">-->
      <!--          <img src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/108fd8a8037eb9caab3a59c13701eeb8.png"-->
      <!--            alt="">-->
      <!--          <div class="position">-->
      <!--            广州融盛科技携旗下产品闪耀亮相道路运-->
      <!--          </div>-->
      <!--        </a>-->
      <!--      </div>-->
    </div>
  </div>
  <!-- 工厂展示 -->
  <div class="seven" style="overflow: hidden;">
    <img src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/5c579293b22604eef8ea5d79055c3f24.png" alt="">
    <div class="position">
      <div class="common-eng-title t-c">FACTORY</div>
      <div class="common-title title t-c">
        工厂展示
      </div>
    </div>
  </div>
  <!-- 合作客户 -->
  <div class="eight">
    <div class="common-eng-title">CLIENT</div>
    <div class="common-title title">
      合作客户
    </div>
    <div class="dis_f_wrap flex-x-between dis-flex-wrap icon_box">
      <img src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/74b1a0ae8417083b37633e5ac52c8b98.png"
        alt="">
      <img src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/472e52a327d83f20ebdbfdbf1ff9ca24.png"
        alt="">
      <img src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/f39b49136ecf88c494dcfadc5e59060c.png"
        alt="">
      <img src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/5d57f46ec8e97cf4a04b745706de3036.png"
        alt="">
      <img src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/1d6fe6ac589c6175b676a530a65f0e17.png"
        alt="">
      <img src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/de172f486ca1a57414a85d7b56e0cfd3.png"
        alt="">
      <img src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/8c66a891bc790371cfa0fe0fca647d98.png"
        alt="">
      <img src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/0322dc70887eb637f45f32ab89a4dc94.png"
        alt="">
      <img src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/d3839eab331caf0ed986bd942e2c578e.png"
        alt="">
      <img src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/6a78f2151e8d47a8c41fc17d4ecff6bf.png"
        alt="">
      <img src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/66872f315e688288635eaed6e4c996b6.png"
        alt="">
      <img src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20210127/5a566ca28c4c2da0bd5942b60679c192.png"
        alt="">
      <img class="home_img_dian"
        src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/4b0f730c50f40a2f527f7bdded95297e.png" alt="">
      <img class="home_img_dian1"
        src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/4b0f730c50f40a2f527f7bdded95297e.png" alt="">
    </div>
  </div>
  <!-- 视频弹窗 -->
  <div class="video_box" style="display: none;">
    <div class="main">
      <span class="iconfont icon-close close_video" style="cursor: pointer;"></span>
      <div class="box">
        <video id="video" controls muted>
          <source
            src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/%E8%9E%8D%E7%9B%9B%E7%A7%91%E6%8A%80%E5%85%A8%E6%99%AF%E7%94%B5%E5%AD%90%E5%90%8E%E8%A7%86%E9%95%9C%E6%88%90%E7%89%87.mp4"
            type="video/mp4">
          <source src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com{$basic.vedio}" type="video/ogg">
          <source src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com{$basic.vedio}" type="video/webm">
        </video>
        <!-- <video id="video" controls muted>
          <source src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20210123/eeed92bc57525361035418ff4b77e755.mp4"
            type="video/mp4">
          <source src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20210123/eeed92bc57525361035418ff4b77e755.mp4"
            type="video/ogg">
          <source src="https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20210123/eeed92bc57525361035418ff4b77e755.mp4"
            type="video/webm">
        </video> -->
      </div>
    </div>
  </div>
</div>
<script>
  $().ready(function (e) {
    $(".synopsis").css({
      'height': $(window).height()
    });

    var mySwiper = new Swiper('.swiper-container', {
      loop: true, // 循环模式选项
      autoplay: true, // 自动

      // 如果需要前进后退按钮
      navigation: {
        nextEl: '.swiper-button-next',
        prevEl: '.swiper-button-prev',
      },

      // 如果需要滚动条
      scrollbar: {
        el: '.swiper-scrollbar',
      },
    });

    let winWidth = $(window).width();
    if (winWidth > 750) {
      $(".box-left").css({
        'transform': 'translate(-100%, 0)',
        'opacity': '0',
        'transition': 'all 700ms'
      });
      $(".box-right1").css({
        'transform': 'translate(0, -100%)',
        'opacity': '0',
        'transition': 'all 700ms'
      });
      $(".box-right2").css({
        'transform': 'translate(0, 100%)',
        'opacity': '0',
        'transition': 'all 700ms'
      });

      $(".bus_box").css({
        'transform': 'translate(-100%, 0)',
        'opacity': '0',
        'transition': 'all 700ms'
      });
      $(".icon").css({
        'transform': 'translate(0, 100%)',
        'opacity': '0',
        'transition': 'all 700ms'
      });
      $(".three .right").css({
        'transform': 'translate(100%, 0)',
        'opacity': '0',
        'transition': 'all 700ms'
      });

      $(".four_box .four_images .box").css({
        'transform': 'scale(0)',
        'transition': 'all 700ms'
      });

      $(".five .five_images .box").each(function (i, e) {
        if (i < 6) {
          $(e).css({
            'transform': 'translate(0, -100%)',
            'opacity': '0',
            'transition': 'all 700ms'
          });
        } else {
          $(e).css({
            'transform': 'translate(0, 100%)',
            'opacity': '0',
            'transition': 'all 700ms'
          });
        };
      });

      $(".six  .box").css({
        'transform': 'translate(100%, 0)',
        'opacity': '0',
        'transition': 'all 700ms'
      });

      let scrollTop = $(window).scrollTop();
      animationEffect(scrollTop, winWidth);
    };
  });

  $(window).scroll(function () {
    var winWidth = $(window).width();
    var scrollTop = $(window).scrollTop();

    animationEffect(scrollTop, winWidth);
  });

  let animationEffect = (scrollTop, winWidth) => {
    // if (scrollTop > 45) {
    //   $("body").addClass("bg_transparent");
    //   $(".header .logo").attr('src',
    //     'https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/bb332108cf8a4b5167a26713f281c7b1.png')
    // } else {
    //   $("body").removeClass("bg_transparent");
    //   $(".header .logo").attr('src',
    //     'https://gzrstech.oss-cn-guangzhou.aliyuncs.com/uploads/20201130/cb403da77415ef264f0ee5f443b47535.png')
    // };
    // 盒子2
    let boxTwoTop = $('.two_box').position().top;
    let boxTwoHeight = $('.two_box').height();
    if (scrollTop > boxTwoTop - boxTwoHeight / 2 && winWidth > 750) {
      $(".box-left").css({
        'transform': 'translate(0, 0)',
        'opacity': '1'
      });
      $(".box-right1").css({
        'transform': 'translate(0, 0)',
        'opacity': '1'
      });
      $(".box-right2").css({
        'transform': 'translate(0, 0)',
        'opacity': '1'
      });
    };

    // 盒子3
    let boxThreeTop = $('.three').position().top;
    let boxThreeHeight = $('.three').height();
    if (scrollTop > boxThreeTop - boxThreeHeight / 2) {
      $(".three .left .bus_box").css({
        'transform': 'translate(0, 0)',
        'opacity': '1'
      });
      $(".three .left .icon").css({
        'transform': 'translate(0, 0)',
        'opacity': '1'
      });
      $(".three .right").css({
        'transform': 'translate(0, 0)',
        'opacity': '1'
      });
    };

    // 盒子4
    let boxFourTop = $('.four_box').position().top;
    let boxFourHeight = $('.four_box').height();
    if (scrollTop > boxFourTop - boxFourHeight / 2) {
      $(".four_box .four .four_images .box").css({
        'transform': 'scale(1)'
      });
    };

    // 盒子5
    let boxFiveTop = $('.five').position().top;
    let boxFiveHeight = $('.five').height();
    if (scrollTop > boxFiveTop - boxFiveHeight / 1.5) {
      $('.five .box').each(function (i, e) {
        if (i < 6) {
          $(e).css({
            'transform': 'translate(0, 0)',
            'opacity': '1',
            'transition-delay': i * 100 + 'ms'
          });
        } else {
          $(e).css({
            'transform': 'translate(0, 0)',
            'opacity': '1',
            'transition-delay': (i - 6) * 100 + 'ms'
          });
        };
      });
    };

    // 盒子6
    let boxSixTop = $('.six_box').position().top;
    let boxSixHeight = $('.six_box').height();
    if (scrollTop > boxSixTop - boxSixHeight / 2) {
      $(".six_box .box").each(function (i, e) {
        $(e).css({
          'transform': 'translate(0, 0)',
          'opacity': '1',
          'transition-delay': i * 100 + 'ms'
        });
      });
    };
  };

  $(".next").click(function () {
    $('html,body').animate({
      scrollTop: $(".synopsis").height() - 80
    }, 600);
  });

  $(".video_play").click(function () {
    $(".video_box").css({
      'display': 'block'
    });
    let timer = setTimeout(() => {
      $("#video").get(0).play();
    }, 500);
  });
  $(".close_video").click(function () {
    $(".video_box").css({
      'display': 'none'
    });
    $("#video").get(0).pause();
    clearTimeout(timer);
  });
  $(".mobile_play").click(function () {
    $(".video_box").css({
      'display': 'block'
    });
    let timer = setTimeout(() => {
      $("#video").get(0).play();
    }, 500);
  });


  $(window).resize(function () {
    $(".synopsis").css({
      'height': $(window).height()
    });
  });
</script>
{/block}